/*
 * Copyright 2009 The Closure Library Authors. All Rights Reserved.
 *
 * Use of this source code is governed by an Apache 2.0 License.
 * See the COPYING file for details.
 */

/*
 * Cross-browser implementation of the "display: inline-block" CSS property.
 * See http://www.w3.org/TR/CSS21/visuren.html#propdef-display for details.
 * Tested on IE 6 & 7, FF 1.5 & 2.0, Safari 2 & 3, Webkit, and Opera 9.
 *
 * @author attila@google.com (Attila Bodis)
 */

/*
 * Default rule; only Safari, Webkit, and Opera handle it without hacks.
 */
.goog-inline-block {
  position: relative;
  display: -moz-inline-box; /* Ignored by FF3 and later. */
  display: inline-block;
}

/*
 * Pre-IE7 IE hack.  On IE, "display: inline-block" only gives the element
 * layout, but doesn't give it inline behavior.  Subsequently setting display
 * to inline does the trick.
 */
* html .goog-inline-block {
  display: inline;
}

/*
 * IE7-only hack.  On IE, "display: inline-block" only gives the element
 * layout, but doesn't give it inline behavior.  Subsequently setting display
 * to inline does the trick.
 */
*:first-child+html .goog-inline-block {
  display: inline;
}

.goog-ratings {
  display: block;
  float: left;
  height: 20px;
}
  
.goog-ratings-star {
  display: block;
  float: left;
  padding-left: 13px;
  height: 19px;
  cursor: pointer;
  background-image: url('/static/images/closure/ratingstars.gif');
  background-repeat: no-repeat;
}

.goog-ratings-firststar-off {
  padding-left: 20px;
  background-position: 0px 0px;
}

.goog-ratings-firststar-on {
  padding-left: 20px;
  background-position: 0px -20px;
}

.goog-ratings-midstar-off {
  background-position: 0px -40px;
}

.goog-ratings-midstar-on {
  background-position: 0px -60px;
}

.goog-ratings-laststar-off {
  padding-left: 18px;
  background-position: 0px -80px;
}

.goog-ratings-laststar-on {
  padding-left: 18px;
  background-position: 0px -100px;
}

.goog-zippy-expanded {
  background-image: url('/static/images/closure/minus.png');
  background-repeat: no-repeat;
  padding-left: 1em;
}

.goog-zippy-collapsed {
  background-image: url('/static/images/closure/plus.png');
  background-repeat: no-repeat;
  padding-left: 1em;
}
